package com.mhc.suzuki.manager;

import com.subaru.common.query.PageResult;
import com.mhc.suzuki.dal.model.WaitingTaskStaffDO;
import com.mhc.suzuki.dal.query.WaitingTaskStaffQuery;

import java.util.List;


/**
 * Manager for WaitingTaskStaff.
 */
public interface WaitingTaskStaffManager {
    /**
     * query count by query condition.
     */
    int countByQuery(WaitingTaskStaffQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(WaitingTaskStaffQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(WaitingTaskStaffDO record);

    /**
     * insert selective.
     */
    long insertSelective(WaitingTaskStaffDO record);

    /**
     * select by query condition.
     */
    List<WaitingTaskStaffDO> selectByQuery(WaitingTaskStaffQuery query);


    /**
     * select by query condition with page.
     */
    PageResult<WaitingTaskStaffDO> selectByQueryWithPage(WaitingTaskStaffQuery query);

    /**
     * select by primary key.
     */
    WaitingTaskStaffDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective( WaitingTaskStaffDO record,  WaitingTaskStaffQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(WaitingTaskStaffDO record, WaitingTaskStaffQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(WaitingTaskStaffDO record);
}